<include file="Public:head"/>
<link rel="stylesheet" type="text/css" href="{weixin::RES}/css/cymain.css" />  
        <div class="content" style="width:920px; background:none; margin-left:275px; border:none; margin-bottom:30px;" >
<div class="cLineB">
<h4 class="left">专家级别管理({weixin:$page}) </h4>
<div class="searchbar right">
<form method="post" action="">
<input type="text" id="msgSearchInput" class="txt left" placeholder="输入关键词搜索" name="searchkey" value="">
<input type="hidden" name="ac" value="hotels-list">
<input type="hidden" name="id" value="9878">
<input type="hidden" name="wxid" value="gh_423dwjkewad">
<input type="submit" value="搜索" id="msgSearchBtn" href="" class="btnGrayS" title="搜索">
</form>
</div>
<div class="clr"></div>
</div>
<!--tab start-->
<div class="tab">
<ul>
<li class="tabli" id="tab0"><a href="{weixin::U('Expert/index',array('token'=>$token))}">专家管理</a></li>
<li class="current tabli" id="tab2"><a href="{weixin::U('Expert/levels',array('token'=>$token))}">专家级别管理</a></li>
<li class="tabli" id="tab2"><a href="{weixin::U('Expert/titles',array('token'=>$token))}">职称管理</a></li>
<li class="tabli" id="tab2"><a href="{weixin::U('Expert/consultations',array('token'=>$token))}">咨询管理</a></li>
<li class="tabli" id="tab2"><a href="{weixin::U('Expert/wxUsersMgr',array('token'=>$token))}">微信用户管理</a></li>
<!--  <li class="tabli" id="tab5"><a href="{weixin::U('Reply_info/set',array('token'=>$token,'infotype'=>'Shop'))}">商城回复配置</a></li>-->
 
</ul>
</div>
<!--tab end-->
<div class="cLine">
<div class="pageNavigator left"> <a href="{weixin::U('Expert/levelAdd',array('token'=>$token))}" title="新增专家级别" class="btnGrayS vm bigbtn"><img src="{weixin::RES}/images/product/add.png" class="vm">新增专家级别</a></div>
<div class="clr"></div>
</div>
<div class="msgWrap">
<form method="post" action="" id="info">
<input name="delall" type="hidden" value="">
<input name="wxid" type="hidden" value="">
<table class="ListProduct" border="0" cellspacing="0" cellpadding="0" width="100%">
<thead>
<tr>
<th class="select">ID</th>
<th width="160">专家级别名称</th>

<th width="150" class="norightborder">操作</th>
</tr>
</thead>
<tbody>
<tr></tr>
<volist name="list" id="hostlist"> 
<tr>
<td>{weixin:$hostlist.level_id}</td>
<td>{weixin:$hostlist.name}</td>
<td class="norightborder"><a href="{weixin::U('Expert/levelSet',array('token'=>$token,'level_id'=>$hostlist['level_id']))}">修改</a> <a href="javascript:drop_confirm('您确定要删除吗?', '{weixin::U('Expert/levelDel',array('level_id'=>$hostlist['level_id'],'token'=>$token))}');">删除</a></td>
</tr>
</volist>
</tbody>
</table>
</form>
<script>
   function checkvotethis() {
var aa=document.getElementsByName('del_id[]');
var mnum = aa.length;
j=0;
for(i=0;i<mnum;i++){
if(aa[i].checked){
j++;
}
}
if(j>0) {
document.getElementById('info').submit();
} else {
alert('未选中任何文章或回复！')
}
}

   </script> 
</div>
<div class="cLine">
<div class="pageNavigator right">
<div class="pages">{weixin:$page}</div>
</div>
<div class="clr"></div>
</div>
</div>
<include file="Public:footer"/>